#ifndef PACKAGEEDITOR_H
#define PACKAGEEDITOR_H

#include <QDialog>
#include <QMouseEvent>

namespace Ui {
    class PackageEditor;
}

class UmlDirItem;

class PackageEditor : public QDialog
{
    Q_OBJECT

public:
    PackageEditor(UmlDirItem *dirItem);
    ~PackageEditor();

protected:
    void changeEvent(QEvent *e);
    Ui::PackageEditor *ui;

    UmlDirItem *_dirItem;

private slots:
    void save();
    void cancel();
};

#endif // PACKAGEEDITOR_H
